#include "syscall.h"
int s1 ,s2;

void
Maroc (void *chaine)
{
    int i;
    for (i = 0; i < 12; i++)
	PutString ("MAROC ------------ BUT\n");
	s1=i;
}

void
France (void *chaine)
{
    int i;
    for (i = 0; i < 5; i++)
	PutString ("FRANCE ------------ BUT\n");
	s2=i;
}

int
main ()
{
	int f1,f2;
    f1=UserThreadCreate (Maroc, "");
    f2=UserThreadCreate (France, "");
    //while(1);
   UserThreadJoin(f1);
   UserThreadJoin(f2);
    
  PutString ("SCORE ");
   PutInt (s1); 
   PutChar('-');
   PutInt(s2);
    PutChar('\n');
}
